import turtle
x,y,w,h = eval(input("请输入中心，长，宽:"))

turtle.write("0,0")

x1,y1 = int(w/2+x),int(h/2+y)
x2,y2 = int(-w/2+x),int(h/2+y)
x3,y3 = int(w/2+x),int(-h/2+y)
x4,y4 = int(x-w/2),int(-h/2+y)

print(x1,y1)
print(x2,y2)
print(x3,y3)
print(x4,y4)
turtle.penup()
turtle.goto(x1,y1)
turtle.pendown()

turtle.goto(x2,y2)
turtle.goto(x4,y4)
turtle.goto(x3,y3)

turtle.goto(x1,y1)
turtle.done()

